package com.ruoyi.huoyun.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车源信息对象 supply_of_cars_info
 *
 * @author mj
 * @date 2021-11-28
 */
public class SupplyOfCarsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识数据表 */
    private Integer id;

    /** 出发地点 */
    @Excel(name = "出发地点")
    private String startAddress;

    /** 到达地点 */
    @Excel(name = "到达地点")
    private String endAddress;

    /** 车牌 */
    @Excel(name = "车牌")
    private String plateNo;

    /** 车型 */
    @Excel(name = "车型")
    private BigDecimal carStyle;

    /** 车长 */
    @Excel(name = "车长")
    private BigDecimal carLength;

    /** 载重 */
    @Excel(name = "载重")
    private BigDecimal loadWeight;

    /** 所属（0企业 1个人 2其他） */
    @Excel(name = "所属", readConverterExp = "0=企业,1=个人,2=其他")
    private String type;

    /** 状态（2未通过 1已通过 0未审核） */
    @Excel(name = "状态", readConverterExp = "2=未通过,1=已通过,0=未审核")
    private String status;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setStartAddress(String startAddress)
    {
        this.startAddress = startAddress;
    }

    public String getStartAddress()
    {
        return startAddress;
    }
    public void setEndAddress(String endAddress)
    {
        this.endAddress = endAddress;
    }

    public String getEndAddress()
    {
        return endAddress;
    }
    public void setPlateNo(String plateNo)
    {
        this.plateNo = plateNo;
    }

    public String getPlateNo()
    {
        return plateNo;
    }
    public void setCarStyle(BigDecimal carStyle)
    {
        this.carStyle = carStyle;
    }

    public BigDecimal getCarStyle()
    {
        return carStyle;
    }
    public void setCarLength(BigDecimal carLength)
    {
        this.carLength = carLength;
    }

    public BigDecimal getCarLength()
    {
        return carLength;
    }
    public void setLoadWeight(BigDecimal loadWeight)
    {
        this.loadWeight = loadWeight;
    }

    public BigDecimal getLoadWeight()
    {
        return loadWeight;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startAddress", getStartAddress())
            .append("endAddress", getEndAddress())
            .append("plateNo", getPlateNo())
            .append("carStyle", getCarStyle())
            .append("carLength", getCarLength())
            .append("loadWeight", getLoadWeight())
            .append("type", getType())
            .append("status", getStatus())
            .toString();
    }
}
